Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing approximate time until next dag_run in Airflow #20273

Conversation

pateash
Copy link
Contributor

@pateash pateash commented Dec 13, 2021

closes: #19098

Description

It will be really helpful if we can add a dynamic message/tooltip which shows time remaining for next dagrun in UI.

Use case/motivation

Although we have next_run available in UI, user has to look into schedule and find the timedifference between schedule and current time, It will be really convenient to have that information available on fingertips.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Dec 13, 2021
@pateash
Copy link
Contributor Author

pateash commented Dec 13, 2021

image

image

image

@pateash pateash changed the title Showing approximate time remaining for next dag_run in Airflow UI Showing approximate time remaining for next dag_run in Airflow Dec 13, 2021
@pateash
Copy link
Contributor Author

pateash commented Dec 13, 2021

image

image

Copy link
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I just think we can improve the copy. Maybe Next run in? and then it doesn't need to be bold

@pateash
Copy link
Contributor Author

pateash commented Dec 14, 2021

Looks great. I just think we can improve the copy. Maybe Next run in? and then it doesn't need to be bold

@bbovenzi Sure, Is this looks good?
image

@ashb ashb changed the title Showing approximate time remaining for next dag_run in Airflow Showing approximate time until for next dag_run in Airflow Dec 14, 2021
Copy link
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work!

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Dec 16, 2021
@github-actions
Copy link

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@pateash pateash changed the title Showing approximate time until for next dag_run in Airflow Showing approximate time until next dag_run in Airflow Dec 16, 2021
@bbovenzi bbovenzi merged commit e148bf6 into apache:main Dec 16, 2021
@pateash pateash deleted the #19098-Adding-Time-remaining-for-next-dag-run-in-Airflow-UI branch December 16, 2021 17:34
@pateash pateash restored the #19098-Adding-Time-remaining-for-next-dag-run-in-Airflow-UI branch February 15, 2022 13:46
@pateash pateash deleted the #19098-Adding-Time-remaining-for-next-dag-run-in-Airflow-UI branch February 15, 2022 13:49
@ephraimbuddy ephraimbuddy added the type:new-feature Changelog: New Features label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues okay to merge It's ok to merge this PR as it does not require more tests type:new-feature Changelog: New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Showing approximate Time until next dag run in Airflow UI
3 participants